class runing extends Thread{

	she t;
	public runing(she x){
		this.t = x;
	}
	public void run(){
		while(true){
			if(!t.move()) break;
			t.sleep(200);
		}
	}
}